//
//  DHConfigHeaderView.m
//  宏达APP
//
//  Created by DIANGHONG on 2018/5/7.
//  Copyright © 2018年 123. All rights reserved.
//

#import "DHConfigHeaderView.h"
@interface DHConfigHeaderView()
@property (weak, nonatomic) IBOutlet UILabel *HeaderLabel;

@end

@implementation DHConfigHeaderView

+ (instancetype)headerViewWithTitle:(NSString *)title{
    
    UINib *nib = [UINib nibWithNibName:@"DHConfigHeaderView" bundle:nil];
    
    DHConfigHeaderView *headerView = [nib instantiateWithOwner:nil options:nil][0];
    
    headerView.HeaderLabel.text = [NSString stringWithFormat:@"  %@",title];
    headerView.HeaderLabel.textColor = UIColor.darkGrayColor;
    headerView.HeaderLabel.font = [UIFont systemFontOfSize:12];
    
    return headerView;
}

@end
